package cn.getech.data.development.mapper;

import cn.getech.data.development.entity.DataPermissionParam;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

/**
 * <p>
 * 数据权限参数 Mapper 接口
 * </p>
 *
 * @author nxy
 * @since 2019-12-18
 */
@Mapper
public interface DataPermissionParamMapper extends BaseMapper<DataPermissionParam> {

    List<DataPermissionParam> selectListByTypeAndIds(@Param("allDbIds") Set<Integer> allDbIds, @Param("pressionType") int pressionType);
}
